require(['./config'], () => {
    require(['template','header','footer','cookie'], (template) => {
        

        class Index {
            constructor() {
                this.getCategory()
            }

            getCategory () {
                $.get('/libs/json/hc.json', resp => {
                    // console.log(resp)
                    
                    const str = template('art',{
                        list: resp
                    })
                    // console.log(str)
                    $('#czxr').html(str)
                })
            }

        }
        new Index()

    })
    })